<!DOCTYPE html>
<!--[if IE 7 ]>    <html class="ie7 oldie"> <![endif]-->
<!--[if IE 8 ]>    <html class="ie8 oldie"> <![endif]-->
<!--[if IE 9 ]>    <html class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><!--<![endif]-->
<html lang="zh-CN">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta charset="utf-8"/>
    <meta name="description" content="">
    <meta name="author" content="">
    <meta property="wb:webmaster" content="3caf5a5b94e6991e"/>
    <link rel="shortcut icon" href="/static/images/chine.ico"/>
    <title> jstree.cc | 解决你的疑难问题 </title>
    <link type="text/css" rel="stylesheet" href="/static/css/SyntaxHighlighter/shCoreEclipse.css">
    <link id="diginews_style-css" media="all" type="text/css" href="/static/css/style.css" rel="stylesheet">
    <script src="/static/js/modernizr-2.6.1.min.js?ver=2.6.1" type="text/javascript"></script>
    <script>window.jQuery || document.write('<script src="/static/js/jquery-1.7.2.min.js"><\/script>')</script>
    <script src="/static/js/scripts.js?ver=1.0.0" type="text/javascript"></script>
    <script src="/static/js/scrollToTop.js"></script>
    <script src="/static/js/inputFocusOrBlur.js"></script>
    <script src="/static/js/jquery.form.js"></script>
    <!--[if lt IE 9]>
	    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script language="JavaScript" src="/static/js/SyntaxHighlighter/shCore.js"></script>
    <script language="JavaScript" src="/static/js/SyntaxHighlighter/shAutoloader.js"></script>
    <script language="JavaScript" src="/static/js/loadSyntaxHighlighter.js"></script>
    <script language="JavaScript" src="/static/js/keyboardControl.js"></script>
    <style type="text/css">
        body.custom-background {
            background: repeat top left scroll #ccc;
        }
        .recentcomments a {
            display: inline !important;
            padding: 0 !important;
            margin: 0 !important;
        }
    </style>
</head>
<body class="home blog custom-background single-author">
<div id="container">
    <header id="branding" role="banner">
        <div id="inner-header" class="clearfix">
            <hgroup id="site-heading">
                <h1 id="site-title">
                    <a rel="home" title="派森吧-pythonpub.com" href="/">jstree</a>
                </h1>
                <h2 id="site-description">享受python带来的便利以及快乐 </h2>
            </hgroup>
            <nav id="access" role="navigation">
                {% include '/head.html' %}
            </nav>
        </div>
    </header>
    <div id="content" class="clearfix">
        <div id="main" class="col620 clearfix" role="main">
            {% for a in articles %}
                <article id="post-71"
                         class="post-71 post type-post status-publish format-standard hentry category-9 tag-10 tag-11 tag-12 tag-13">
                    <header class="entry-header">
                        <h1 class="entry-title">
                            <a rel="bookmark" title="Permalink to {{ a.post_title }}"
                               href="/article/{{ a.id }}">{{ a.post_title }}</a>
                        </h1>
                        <div class="entry-meta">
                            <span class="sep">Posted on </span>
                            <a rel="bookmark" title="title" href="/article/{{ a.id }}">
                                <time class="entry-date"
                                      datetime="2013-01-01T00:00:00+00:00">{{ a.post_create_time|safe }}</time>
                            </a>
                            <span class="byline">
					<span class="sep"> by </span>
					<span class="author vcard">
						<a class="url fn n" rel="author" title="View all posts by dan" href="/">dan</a>
					</span>
					</span>
                            <span class="sep" style="float:right"><p><a class="more" href="/article/{{ a.id }}">阅读全文 &raquo;</a></p></span>
                            <span class="sep" style="float:right">
                                <a title="{{ a.post_title }}" href="/article/{{ a.id }}#comments">
                                    {{ a.comment_count }}条评论
                                </a>
                            </span>
                            <span class="sep" style="float:right"> {{ a.view_num }}人阅读</span>
                        </div>
                    </header>
                    <div class="entry-content post_content">
                        {% if (a.post_content|length)>3000 %}
                            {{ (a.post_content|safe|html2textile)[:3000] }} ...
                        {% else %}
                            {{ (a.post_content|safe) }}
                        {% endif %}
                        <p><a class="more" href="/article/{{ a.id }}" style="float:right">阅读全文 &raquo;</a></p>
                    </div>
                    <footer class="entry-meta">
				<span class="cat-links">
                    Posted in
                        <a rel="tag" title="查看 {{ a.categorys.category_name }} 中的全部文章"
                           href="/category/{{ a.categorys.id }}">{{ a.categorys.category_name }}</a>
                        </span>
                        <span class="sep"> | </span>
                        <span class="tag-links">
                    Tagged:
                            {% for tag in a.tags %}
                                <span><a rel="tag" href="/tag/{{ tag.id }}">{{ tag.name }}</a></span>
                            {% endfor %}
                        </span>
                    </footer>
                </article>
            {% endfor %}
            <div id="Pagination" class="pagination">
                <a href="/page/1">首页 &raquo;</a>
                {% for i in pagination %}
                    {% if i==pageid %}
                        <span class="current">{{ pageid }}</span>
                    {% else %}
                        <a href="/page/{{ i }}">{{ i }}</a>
                    {% endif %}
                {% endfor %}
                <span>...</span>
                <a href="/page/{{ last_page }}">末页 &raquo;</a>
            </div>
        </div>
        <div id="sidebar" class="widget-area col300" role="complementary">
            <div id="sidebar-wrap" class="clearfix">
                {% include '/sider.html' %}
            </div>
        </div>
    </div>
    <footer id="colophon" role="contentinfo">
        <div id="site-generator">
            {% include '/foot.html' %}
        </div>
    </footer>
</div>
</body>

